﻿using Microsoft.EntityFrameworkCore;
using Shop.ProductService.Entities;
using Volo.Abp.EntityFrameworkCore;

namespace Shop.ProductService.Data;

public class ProductServiceDbContext : AbpDbContext<ProductServiceDbContext>
{
    public ProductServiceDbContext(DbContextOptions<ProductServiceDbContext> options)
        : base(options)
    {
    }
    /// <summary>
    /// 1、商品模型
    /// </summary>
    public DbSet<Products> products { get; set; }

    protected override void OnModelCreating(ModelBuilder builder)
    {
        base.OnModelCreating(builder);
    }
}
